package com.example.ordersystem.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 订单类
 */
@Data
@ToString
@TableName("orders")
public class Order implements Serializable {

    private static final long serialVersionUID = 2L;

    private int id;
    @TableField("orderId")
    private String orderId;

    @TableField("userId")
    private String userId;

    @TableField("courierId")
    private String courierId;

    private String tel;

    @TableField("createTime")
    private String createTime;

    @TableField("endTime")
    private String endTime;

    private String price;

    private String remarks;

    private String progress;

    private String address;

    private String payment;

    @TableField("toolNum")
    private String toolNum;


}
